package com.onemile.app;

import android.os.Bundle;
import android.widget.ImageView;
import android.widget.ListView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.onemile.app.base.BaseUINoBottom;
import com.onemile.controls.AdpLV_SettleCommodityList;
import com.onemile.entity.Session;

public class UISettleCommodityList extends BaseUINoBottom
{
   private ListView listView;

   @Override
   protected void onCreateOverride(Bundle savedInstanceState)
   {
	  listView=(ListView)findViewById(R.id.listView_settlecommodity);
	  AdpLV_SettleCommodityList adp=new AdpLV_SettleCommodityList(UISettleCommodityList.this, Session.getInstance().getCommodityList());
      listView.setAdapter(adp);
   }

   @Override
   public int SetContentViewLayoutResId()
   {
	  return R.layout.settlecommoditylist;
   }

   @Override
   public void SetTopToolbar(TextView topTxt, ImageView leftImBtn, ImageView rightImgBtn, RelativeLayout rightRay, TextView cartNum)
   {
      topTxt.setText(getString(R.string.title_settlecommoditylist));
   }

}
